package com.only4play.portal.common.session;

/**
 * @author liyuncong
 * @version 1.0
 * @file InternalSession
 * @brief InternalSession
 * @details InternalSession
 * @date 2024-06-07
 *
 * Edit History
 * ----------------------------------------------------------------------------
 * DATE                     NAME               DESCRIPTION
 * 2024-06-07               liyuncong          Created
 */
public interface InternalSession {

    PortalSession getSession();

    boolean isValid();

    void setValid(boolean isValid);

    String getIdInternal();

    void expire();

    void access();

    void endAccess();

    void setCreationTime(long time);

    void setMaxInactiveInterval(int interval);

    void setId(String id);
}
